package com.apes.fn.server.servicePlan.repository;

import com.apes.fn.server.servicePlan.model.TimingOffer;
import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.scm.account.account.model.Stock;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface TimingOfferRepository extends CustomRepository<TimingOffer, String> {

    @Query(value = "SELECT * FROM ser_timing_offer WHERE number_of_execution > 0", nativeQuery = true)
    List<TimingOffer> findNoExecute();
}
